package com.jvtd.baseProject.di.module;


import com.jvtd.baseProject.bean.db.User;
import com.jvtd.baseProject.di.UserScope;

import dagger.Module;
import dagger.Provides;

/**
 * Created by Administrator on 2017/10/16.
 * User
 */
@Module
public class UserModule
{
  private User mUser;

  public UserModule(User user)
  {
    mUser = user;
  }

  @Provides
  @UserScope
  User provideUser()
  {
    return mUser;
  }
}
